package com.tyrone.concurrent.basic;

/**
 * @author xieyl
 * @create 2021/11/30 22:22
 */
public class Synchronized {
    public static void main(String[] args) {
        synchronized (Synchronized.class){
        }
        m();
        n();

    }
    private static synchronized void m(){
        System.out.println("m");
    }
    private static synchronized void n(){
        System.out.println("n");
    }
}
